<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
String title="ERP";
%>

<html>
<head>
<link rel="stylesheet" href="css/default.css"/>
<link rel="stylesheet" href="css/<%=pageContext.getServletContext().getInitParameter("cssView")%>/jquery-ui.css"/>
<script type="text/javascript" src="js/jquery/jquery.js"></script>
<script type="text/javascript" src="js/jquery/jquery-ui.js"></script>
<script type="text/javascript" src="js/common/default.js"></script>
<script type="text/javascript" src="js/common/ui.js"></script>
<script type="text/javascript" src="js/common/jGridL.js"></script>
<script type="text/javascript" src="js/common/validation.js"></script>
<%if(null==session.getAttribute("user")){%>
<script type="text/javascript">
 $(document).ready(function(){
 defaultFunction();
 ui();
 jGrid();
 
 });
 </script>
 <%} %>
<script type="text/javascript" src="js/user/transaction/login.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title><%=title %>-Login</title>
<script>
$(document).ready(function(){
	$(function() {
		$( "#loginDialog" ).dialog();
	});
	});
	</script>
</head>
<body>
<div id="loginDialog" title="<%=pageContext.getServletContext().getInitParameter("projectTitle")%>-Login">
<form name="validateAuthentication" action="validateLogin.action" method="post">
<table width="250" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="120" class="lbl">Authentication id :</td>
   
    <td ><input type="text" name="authenticationId" msg="Enter authentication id" notNull  /></td>
  </tr>
  <tr>
    <td class="lbl">Password :</td>
    
    <td><input type="password" name="authenticationPassword" notNull msg="Enter password"   /></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    
    <td><input type="button" value="Login" onClick="login.validateForm()"/> <input type="reset" value="Reset"/></td>
  </tr>
  <tr>
    <td class="lbl" colspan="2" id="statusUpdate"> </td>
  </tr>
</table>
</form>
</div>
</body>
</html>